Correlates the items of this indexed collection with the items of another sequence and returns the combined items with matching keys.
Implements IIndexScanner(T).Join
Assembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public IEnumerable<TResult> Join<T2, TResult>( IEnumerable<T2> source, Func<T2, Object> keySelector, Func<T, T2, TResult> resultSelector, JoinOperator op ) |
Visual Basic |
---|
Public Function Join(Of T2, TResult) ( _ source As IEnumerable(Of T2), _ keySelector As Func(Of T2, Object), _ resultSelector As Func(Of T, T2, TResult), _ op As JoinOperator _ ) As IEnumerable(Of TResult) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T2>)>)>
The second sequence to join to this collection.
- keySelector
- Type: System..::..Func<(Of <(<'T2, Object>)>)>
A function to extract from a second sequence's item the value to match against this collection's key value.
- resultSelector
- Type: System..::..Func<(Of <(<'T, T2, TResult>)>)>
A function to create a result element from two matching elements.
- op
- Type: C1.LiveLinq.Indexing.Search..::..JoinOperator
A comparison operator to match elements.
Type Parameters
- T2
- The type of the elements of the second sequence.
- TResult
- The type of the result elements.